<?php /* Smarty version Smarty-3.1.11, created on 2013-09-15 22:29:19
         compiled from "..\templates\canbo\editcanbo.tpl" */ ?>
<?php /*%%SmartyHeaderCode:66325216bc3a9b68e1-90605116%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'e0e4fd9ab527795761f835f0330211403098811a' => 
    array (
      0 => '..\\templates\\canbo\\editcanbo.tpl',
      1 => 1379258956,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '66325216bc3a9b68e1-90605116',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.11',
  'unifunc' => 'content_5216bc3ac62c88_81834138',
  'variables' => 
  array (
    'khoiphuc' => 0,
    'loi' => 0,
    'dantoc' => 0,
    'dt' => 0,
    'tongiao' => 0,
    'tg' => 0,
    'hien' => 0,
    'chucdanh' => 0,
    'cd' => 0,
    'chucvu' => 0,
    'cv' => 0,
    'quyenhan' => 0,
    'qh' => 0,
    'dstrungtam' => 0,
    'tt' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_5216bc3ac62c88_81834138')) {function content_5216bc3ac62c88_81834138($_smarty_tpl) {?><?php if (!is_callable('smarty_modifier_date_format')) include 'C:\\xampp\\htdocs\\tuxa\\lib\\smarty\\plugins\\modifier.date_format.php';
?><!--------------------------------------------------------Script------------------------------------------------------------------------------------>
<div class="content-box"><!-- Start Content Box -->
	<div class="content-box-header">
		<h3>Sửa Thông Tin CB - GV<?php echo $_smarty_tpl->tpl_vars['khoiphuc']->value['hoten_cb'];?>
</h3>
    </div> <!-- End .content-box-header -->
	
<div class="content-box-content">				
<!------------------------------------------------------- N?I DUNG TRANG------------------------------------------------------------------------------->					
 
        <form action="" method="POST" id="formnoidung">
       	<table>
            <tr><td colspan="8"><b>Thông báo: </b><label id="loi"><?php echo $_smarty_tpl->tpl_vars['loi']->value;?>
</label></td></tr>
            <tr>
                <td class="td-80"><label>Mã Cán Bộ:</label></td>
                <td>
                    <label><?php echo $_smarty_tpl->tpl_vars['khoiphuc']->value['ma_cb'];?>
</label>
                    <input type="hidden" name="ma_cb" value="<?php echo $_smarty_tpl->tpl_vars['khoiphuc']->value['ma_cb'];?>
" />
                </td>
                <td><label id="hoten">Họ Tên:</label></td>
                <td><input class="text-input" type="text" name="hoten_cb" value="<?php echo $_smarty_tpl->tpl_vars['khoiphuc']->value['hoten_cb'];?>
" onblur="Chuanhoa(this)"/></td>
                <td><label id="ngaysinh">Ngày Sinh:</label></td>
                <td colspan="3">
                    <input class="medium-input" type="text" id="ngaysinh" name="ngaysinh_cb" value="<?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['khoiphuc']->value['ngaysinh_cb'],'%d/%m/%Y');?>
" onblur="ktngaysinh(this.value)" />
                    <b>Giới Tính</b>
                        <input type="radio" name="gt_cb" value="Nam" <?php if ($_smarty_tpl->tpl_vars['khoiphuc']->value['gt_cb']=='Nam'){?> checked="1" <?php }?>/>Nam
                        <input type="radio" name="gt_cb" value="Nữ" <?php if ($_smarty_tpl->tpl_vars['khoiphuc']->value['gt_cb']=='Nữ'){?> checked="1" <?php }?>/>Nữ
                    &nbsp;&nbsp;&nbsp;
                    <b>Dân tộc:</b>                    
                        <select name="dantoc">
                            <option value="">--Dân Tộc--</option>
                            <?php  $_smarty_tpl->tpl_vars['dt'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['dt']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['dantoc']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['dt']->key => $_smarty_tpl->tpl_vars['dt']->value){
$_smarty_tpl->tpl_vars['dt']->_loop = true;
?>
                            <option value="<?php echo $_smarty_tpl->tpl_vars['dt']->value['madm_dantoc'];?>
" <?php if ($_smarty_tpl->tpl_vars['dt']->value['madm_dantoc']==$_smarty_tpl->tpl_vars['khoiphuc']->value['dantoc']){?> selected=""<?php }?>><?php echo $_smarty_tpl->tpl_vars['dt']->value['ten_dantoc'];?>
</option>
                            <?php } ?>                    
                        </select>
                </td>
            </tr>
            <tr>
                <td><label id="cmtnd">CMTND:</label></td>
                <td><input type="text" name="cmt" class="medium-input" value="<?php echo $_smarty_tpl->tpl_vars['khoiphuc']->value['cmt'];?>
" onblur="ktcmtnd(this.value)"/></td>
                <td><label id="sdt">Số ĐT:</td>
                <td><input type="text" name="sdt" class="text-input" value="<?php echo $_smarty_tpl->tpl_vars['khoiphuc']->value['sdt'];?>
" onblur="ktsdt(this.value)"/></td>
                <td><label id="email">Email:</td>
                <td><input type="text" name="email" class="text-input" value="<?php echo $_smarty_tpl->tpl_vars['khoiphuc']->value['email'];?>
" onblur="ktemail(this.value)"/></td>
                <td><b>Địa Chỉ:</b></td>
                <td>
                    <input name="diachi_cb" class="text-input" type="text" value="<?php echo $_smarty_tpl->tpl_vars['khoiphuc']->value['diachi_cb'];?>
"/>
                </td>
            </tr>
            <tr>
                <td><b>Tôn giáo:</b></td>
                <td>
                    <select name="tongiao">
                        <option value="">--Tôn Giáo--</option>
                        <?php  $_smarty_tpl->tpl_vars['tg'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['tg']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['tongiao']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['tg']->key => $_smarty_tpl->tpl_vars['tg']->value){
$_smarty_tpl->tpl_vars['tg']->_loop = true;
?>
                        <option value="<?php echo $_smarty_tpl->tpl_vars['tg']->value['madm_tongiao'];?>
" <?php if ($_smarty_tpl->tpl_vars['tg']->value['madm_tongiao']==$_smarty_tpl->tpl_vars['khoiphuc']->value['tongiao']){?> selected=""<?php }?>><?php echo $_smarty_tpl->tpl_vars['tg']->value['ten_tongiao'];?>
</option>
                        <?php } ?>                    
                    </select>
                </td>
                <td><b>Mật khẩu Cũ</b></td>
                <td><input class="text-input" name="matkhaucu" type="password" /></td>
                <td><label id="lbmk">Mật khẩu Mới</label></td>
                <td><input class="text-input" name="matkhaumoi" type="password" id="mk" /></td>
                <td><label id="xacnhan">Xác nhận MK</label></td>
                <td><input class="text-input" name="xnmatkhau" type="password" onblur="ktxnmk(this.value)"/></td>                
            </tr>
            <tr>        
                <td colspan="8">
                    
                    <?php if ($_smarty_tpl->tpl_vars['hien']->value==false){?>
                        <input type="hidden" name="chucdanh" value="<?php echo $_smarty_tpl->tpl_vars['khoiphuc']->value['chucdanh'];?>
" />
                        <input type="hidden" name="chucvu" value="<?php echo $_smarty_tpl->tpl_vars['khoiphuc']->value['chucvu'];?>
" />
                        <input type="hidden" name="quyenhan" value="<?php echo $_smarty_tpl->tpl_vars['khoiphuc']->value['quyenhan'];?>
" />
                        <input type="hidden" name="trungtam" value="<?php echo $_smarty_tpl->tpl_vars['khoiphuc']->value['trungtam'];?>
" />
                    <?php }?>  
                    <b>Chức danh</b>          
                    <select name="chucdanh" <?php if ($_smarty_tpl->tpl_vars['hien']->value==false){?> disabled="true" <?php }?>>
                        <option value="">--Chức Danh--</option>
                        <?php  $_smarty_tpl->tpl_vars['cd'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['cd']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['chucdanh']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['cd']->key => $_smarty_tpl->tpl_vars['cd']->value){
$_smarty_tpl->tpl_vars['cd']->_loop = true;
?>
                        <option value="<?php echo $_smarty_tpl->tpl_vars['cd']->value['madm_cd'];?>
" <?php if ($_smarty_tpl->tpl_vars['khoiphuc']->value['chucdanh']==$_smarty_tpl->tpl_vars['cd']->value['madm_cd']){?> selected="1" <?php }?>><?php echo $_smarty_tpl->tpl_vars['cd']->value['ten_cd'];?>
</option>
                        <?php } ?>                    
                    </select>
                    
                    &nbsp;
                    <b>Đối tượng</b>
                    <select name="chucvu" <?php if ($_smarty_tpl->tpl_vars['hien']->value==false){?> disabled="true" <?php }?>>
                        <option value="">--Đối tượng--</option>
                        <?php  $_smarty_tpl->tpl_vars['cv'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['cv']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['chucvu']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['cv']->key => $_smarty_tpl->tpl_vars['cv']->value){
$_smarty_tpl->tpl_vars['cv']->_loop = true;
?>
                        <option value="<?php echo $_smarty_tpl->tpl_vars['cv']->value['ma_plcb'];?>
" <?php if ($_smarty_tpl->tpl_vars['khoiphuc']->value['chucvu']==$_smarty_tpl->tpl_vars['cv']->value['ma_plcb']){?> selected="1" <?php }?>><?php echo $_smarty_tpl->tpl_vars['cv']->value['ten_plcb'];?>
</option>
                        <?php } ?>                    
                    </select>
               
                   &nbsp;
                   <b>Quyền hạn</b>
                    <select name="quyenhan"<?php if ($_smarty_tpl->tpl_vars['hien']->value==false){?> disabled="true" <?php }?>>
                        <option value="">-- Quyền hạn--</option>
                        <?php  $_smarty_tpl->tpl_vars['qh'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['qh']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['quyenhan']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['qh']->key => $_smarty_tpl->tpl_vars['qh']->value){
$_smarty_tpl->tpl_vars['qh']->_loop = true;
?>
                        <option value="<?php echo $_smarty_tpl->tpl_vars['qh']->value['ma_pq'];?>
" <?php if ($_smarty_tpl->tpl_vars['khoiphuc']->value['quyenhan']==$_smarty_tpl->tpl_vars['qh']->value['ma_pq']){?> selected="1" <?php }?>><?php echo $_smarty_tpl->tpl_vars['qh']->value['ten_pq'];?>
</option>
                        <?php } ?>                    
                    </select>
                    <b>Trung tâm</b>
                    <select name="trungtam" <?php if ($_smarty_tpl->tpl_vars['hien']->value==false){?> disabled="true" <?php }?>>
                        <option value="">--Trung tâm--</option>
                        <?php  $_smarty_tpl->tpl_vars['tt'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['tt']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['dstrungtam']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['tt']->key => $_smarty_tpl->tpl_vars['tt']->value){
$_smarty_tpl->tpl_vars['tt']->_loop = true;
?>
                        <option value="<?php echo $_smarty_tpl->tpl_vars['tt']->value['ma_trungtam'];?>
" <?php if ($_smarty_tpl->tpl_vars['khoiphuc']->value['trungtam']==$_smarty_tpl->tpl_vars['tt']->value['ma_trungtam']){?> selected="1" <?php }?>><?php echo $_smarty_tpl->tpl_vars['tt']->value['ten_trungtam'];?>
</option>
                        <?php } ?>                    
                    </select>
                </td>
            
                </tr>
                <tr>
                    <td colspan="3">
                        <input class="button" type="submit" name="luu" value="Lưu Lại"/>
                        <input class="button" type="reset" name="huy" value="Nhập lại"/>
                    </td>
                </tr>
        </table>
    </form>
 <!------------- K?T THÚC N?I DUNG TRANG----------------------------------------------------------------------------------------------------------------->                  
	</div> <!-- End .content-box-content -->
 </div> <!-- End .content-box -->
			
			<?php }} ?>